package cn.lx.feature;

import org.glassfish.hk2.api.InterceptionService;
import org.glassfish.hk2.utilities.binding.AbstractBinder;

import javax.inject.Singleton;

/**
 * Created by Administrator on 2017/3/14.
 */
public class AOPBingder extends AbstractBinder {
    protected void configure() {
        bind(LxMethodInteceptorRegesiter.class).to(InterceptionService.class).in(Singleton.class);
    }
}
